package com.yenroc.invoice.pojo.xml;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "InherentLabel")
@XmlAccessorType(XmlAccessType.FIELD)
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class InherentLabelXmlDTO {
    @XmlElementRef(name = "InIssuType")
    private InIssuTypeXmlDTO inIssuType;

    @XmlElementRef(name = "EInvoiceType")
    private EInvoiceTypeXmlDTO EInvoiceType;

    @XmlElementRef(name = "GeneralOrSpecialVAT")
    private GeneralOrSpecialVATXmlDTO generalOrSpecialVAT;

    @XmlElementRef(name = "TaxpayerType")
    private TaxpayerTypeXmlDTO taxpayerType;
}